#ifndef __CMS_EVENT_91SY1LGH
#define __CMS_EVENT_91SY1LGH

#define CMS_TASKMODULE_FUNC_RECURSIVE (1 << 30) /*interest current object all child object*/

/*event defination for test*/
#define CMS_EVENT_SAMPLE_1			1
#define CMS_EVENT_SAMPLE_2			99
#define CMS_EVENT_SAMPLE_3			399
#define CMS_EVENT_SAMPLE_4			599

/*need redefine*/
#define CMS_EVENT_LAN_LINK_UP		100
#define CMS_EVENT_LAN_LINK_DOWN		101
#define CMS_EVENT_SSID_LINK_UP		102
#define CMS_EVENT_SSID_LINK_DOWN	103
#ifdef GC_APPS_CTC
#define CMS_EVENT_VETH_LINK_UP		104
#endif

#define CMS_EVENT_UTC_TIME_UP		105

#define CMS_EVENT_PON_MODE_CHANGE	199

#define CMS_EVENT_WAN_LINK_UP		200
#define CMS_EVENT_WAN_LINK_DOWN		201
#define CMS_EVENT_RECOVER_LAN_INTERFACE	202

#define CMS_EVENT_LED_STATUS_CHANGE 204

#define CMS_EVENT_REBOOT			300
#define CMS_EVENT_NOTIFY_PASSIVE	301
#define CMS_EVENT_NOTIFY_ACTIVE 	302
#define CMS_EVENT_CONFIG_RELOAD		304
#define CMS_EVENT_SYSTEM_CMD		305
#define CMS_EVENT_DIAGNOSTIC_SEND		306
#define CMS_EVENT_NOTIFY_CWMP_SETTING	308
#define CMS_EVENT_NOTIFY_CFG_SETTING	309
#define CMS_EVENT_NOTIFY_CWMP_INFORM	310		/*notify cwmp, some paramter changed, need inform again.*/
#define CMS_EVENT_OBJ_NOTIFY_DBUS		311	    /*define for DBUS receive object info*/
#define CMS_EVENT_GUI_TESTOVER	312	    /*define for GUI click the manager test over button, send event to tr069, send ACCOUNTCHANGE eventcode*/
#define CMS_EVENT_ANDLINK_UPLINK_RATECONF 313
#define CMS_EVENT_ANDLINK_STA_RATECONF 314
#define CMS_EVENT_WEB_SCAN 315
#define CMS_EVENT_DIAGNOSTIC_PING 316
#define CMS_EVENT_DIAGNOSTIC_TRACEROUTE 317

//voice event
#define CMS_EVENT_VOICE_STATUS_UPDATE	500
#define CMS_EVENT_VOICE_SHOW			501
#define CMS_EVENT_VOICE_CONFIG_CHANGE			502
#define CMS_EVENT_VOICE_DEBUG			503
#define CMS_EVENT_VOICE_STOP			504
#define CMS_EVENT_VOICE_IN_USED			505
#define CMS_EVENT_VOICE_CALL_TEST			506
#define CMS_EVENT_VOICE_UPDATE_LINE_REGISTER			507
#define CMS_EVENT_VOICE_UPDATE_LINE_CALLSTATE			508
#define CMS_EVENT_VOICE_UPDATE_LINE_IMS			509
#define CMS_EVENT_VOICE_UPDATE_LINE_STATS			510
#define CMS_EVENT_VOICE_UPDATE_LINE_POORQUALITY			511
#define CMS_EVENT_VOICE_QUERY_SIMULATION			512
#define CMS_EVENT_VOICE_REGISTER			513
#define CMS_EVENT_VOICE_UNREGISTER			514
#define CMS_EVENT_VOICE_OMCILINESTATUS			515
#define CMS_EVENT_VOICE_OMCICALLCONTROL			516
#define CMS_EVENT_VOICE_OMCISIPAGENT			517
#define CMS_EVENT_VOICE_OMCICALLINITIATION			518
#define CMS_EVENT_VOICE_OMCIPHYSICALSTATUS			519
#define CMS_EVENT_VOICE_OMCICALLCONTROLRESET			520
#define CMS_EVENT_VOICE_PHONETEST			521
#define CMS_EVENT_VOICE_PHONERINGSTART			522
#define CMS_EVENT_VOICE_PHONERINGSTOP			523
#define CMS_EVENT_VOICE_ONHOOK			530
#define CMS_EVENT_VOICE_OFFHOOK			531
#define CMS_EVENT_VOICE_REGISTER_STATUS			532
#define CMS_EVENT_VOICE_WAN_DOWN			533
#define CMS_EVENT_VOICE_WAN_UP			534

//pppd get interface ID of ppp interface
#define CMS_EVENT_PPPv6_UP		600
#define CMS_EVENT_PPPv6_DOWN	601

#define CMS_EVENT_WAN_CONNECTION_UP		602
#define CMS_EVENT_WAN_CONNECTION_DOWN	603

//odhcp6c get ipv6 address
#define CMS_EVENT_WAN_CONNECTION_IPV6_UP		604
#define CMS_EVENT_WAN_CONNECTION_IPV6_DOWN	    605

#define CMS_EVENT_WAN_IPV6_DSLITE_UP	    606
#define CMS_EVENT_IPV6_UP	    607
#define CMS_EVENT_IPV6_DOWN	    608
#define CMS_EVENT_BRIDGE_WAN_CONNECTION_UP		609
#define CMS_EVENT_BRIDGE_WAN_CONNECTION_DOWN		610
#define CMS_EVENT_WAN_IP_CHANGE		611
#define CMS_EVENT_IPV6_CONFIGURE_LANINF  677

#define CMS_EVENT_PD_CHANGE	    678
#define CMS_EVENT_PD_DOWN	    679
#define CMS_EVENT_IPV6_DNS_UP	    680



#define CMS_EVENT_RESTART_DHCPV6_SERVER     688
#define CMS_EVENT_RESTART_RADVD				689


#define CMS_EVENT_LOOPDETECT_ALARM					701
#define CMS_EVENT_LOOPDETECT_ALARM_CLEAR			702


#define CMS_EVENT_EPON_LINK_UP   705
#define CMS_EVENT_EPON_LINK_DOWN  706

#define CMS_EVENT_PON_RELOAD  707
#define CMS_EVENT_PON_RESTART  708

#define CMS_EVENT_IPOE_BRIDGE_DIAGNOSTIC  709
#define CMS_EVENT_IPOE_DIAGNOSTIC_DONE  710
#define CMS_EVENT_IPOE_TR069WAN_DIAGNOSTIC  711
#define CMS_EVENT_PPPoE_TR069WAN_DIAGNOSTIC  712

/* WLAN events occupy ID 800~899 */
#define CMS_EVENT_WLAN_BEGIN                    800
#define CMS_EVENT_WLAN_SCANDONE                 800
#define CMS_EVENT_WLAN_CSW                      801
#define CMS_EVENT_WLAN_STA_JOIN                 802
#define CMS_EVENT_WLAN_STA_LEAVE                803
#define CMS_EVENT_WLAN_ASSOC_STATUS             804
#define CMS_EVENT_WLAN_SSID_NAME                805
#define CMS_EVENT_WLAN_SSID_PASSWORD            806
#define CMS_EVENT_WLAN_RADIO_UPDOWN             807

#define CMS_EVENT_WLAN_WPS_BTN_PRESSED          810
#define CMS_EVENT_WLAN_WPS_TIMEOUT              811
#define CMS_EVENT_WLAN_WPS_SUCCESS              812
#define CMS_EVENT_WLAN_WPS_CONF_AP              813
#define CMS_EVENT_WLAN_WPS_STATUS               814
#define CMS_EVENT_WLAN_WPS_CONF_STA             815
#define CMS_EVENT_WLAN_RRM_RSP                  816
#define CMS_EVENT_WLAN_BTM_RSP                  817
#define CMS_EVENT_WLAN_DFS_REPORT				818
#define CMS_EVENT_WLAN_CHANNEL_SWITCH			819

#define CMS_EVENT_WLAN_VENDOR_IE 820
#define CMS_EVENT_WLAN_CROSS_LOW_RSSI 821
#define CMS_EVENT_WLAN_WIFI_NAME_CONFLICT 822
#define CMS_EVENT_WLAN_WIFI_BSSID_CONFLICT 823
#define CMS_EVENT_WLAN_STA_BG_MODE 824

#define CMS_EVENT_WLAN_ENABLE_CHANGE 850
#define CMS_EVENT_WPS_ENABLE_CHANGE 851
#define CMS_EVENT_ELINK_SYNC_CHANGE 852
#define CMS_EVENT_BAND_STEERING_CHANGE 853

#define CMS_EVENT_WLAN_AGENT_HEARTBEAT 899
#define CMS_EVENT_WLAN_END 899

#define CMS_EVENT_ADD_PORT_RULE 900
#define CMS_EVENT_DEL_PORT_RULE 901

/* CWMP events */
#define CMS_EVENT_CWMP_MANUAL_INFORM		1000
#define CMS_EVENT_CWMP_URL_CHANGE			1001
#define CMS_EVENT_CWMP_RELOAD_PARAM			1002
#define CMS_EVENT_CWMP_CHANGE_MONITOR		1003
#define CMS_EVENT_CWMP_UPGRADE_SUCESS		1004
#define CMS_EVENT_CWMP_PASSWORD_CHANGE		1005
#ifdef GC_APPS_CTC
#define CMS_EVENT_CWMP_CHANGE_NDCONFIG		1006
#endif
#define CMS_EVENT_CWMP_ALARM_REALTIME		1007
#define CMS_EVENT_CWMP_CLEAR_ALARM_REALTIME		1008
#define CMS_EVENT_CWMP_ALARM_PERIOD			1009


/* IPSEC event */
#define CMS_EVENT_IPSEC_VPN                 1100


/*GPON event*/
#define CMS_EVENT_GPON_GEMPORT_STATIS                1200
#define CMS_EVENT_GPON_DIAG_COMPLETE                1201

/*USB event*/
#define CMS_EVENT_USB_ADD			1300
#define CMS_EVENT_USB_REMOVE			1301

/*DBUS*/
#define CMS_DBUS_GET_PARAMETER_VALUES                1400
#define CMS_DBUS_GET_PARAMETER_NAMES                1401

/*ctcapdEvents*/
#define CMS_EVENT_CTCAPD_FW_DOWNLOAD                1450
#define CMS_EVENT_CTCAPD_FW_UPGRADE                1451
#define CMS_EVENT_CTCAPD_UPGRADE_STATUS                1452

/*TIMER event*/
#define CMS_EVENT_TIMER_ADD         1500
#define CMS_EVENT_TIMER_CANCEL      1501

/*DNSSpeedLimit*/
#define CMS_EVENT_DNSSPEEDLIMIT               1600

/*LAN*/
#define CMS_EVENT_TEMP_UPDATE_MAC_DEVTYPE             1601
#define CMS_EVENT_TEMP_DEL_MAC       1602
#define CMS_EVENT_LAN_HOST  1603
#define CMS_EVENT_LAN_HOST_ONLINE  1604
#define CMS_EVENT_LAN_HOST_NEWDEV  1605

/* ahsapd(andlink home service) 1700 - 1799 预留给 ahsapd 插件，请勿重复使用 */
#define CMS_EVENT_AHSAPD_MIN 1700
#define CMS_EVENT_AHSAPD_MAX 1799

/*FTTR, 1800-1849 reserved */
#define CMS_EVENT_FTTR_ONT_ONLINE	1800
#define CMS_EVENT_FTTR_ONT_OFFLINE	1801
#define CMS_EVENT_FTTR_ONT_ONLINE_REGIST	1802

/* Mesh, 1850-1899 */
#define CMS_EVENT_MESH_WIFI_BH_CONNECTION_UP	1850
#define CMS_EVENT_MESH_WIFI_BH_CONNECTION_DOWN	1851
#define CMS_EVENT_MESH_STATE_CHANGED            1852
#define CMS_EVENT_MESH_STATE_CLIENT_OFFLINE           1853
#define CMS_EVENT_MESH_STATE_CLIENT_ONLINE           1854

#define CMS_EVENT_UPDATE_MESH_TOPO	1859

/* GCMQTT, 1900-1950 */
#define CMS_EVENT_GCMQTT_ALARM_REPORT	1900
#define CMS_EVENT_GCMQTT_PERFORMANCE_REPORT	1901

/* gcwanauto */
#define CMS_EVENT_NOTIFY_GCWANAUTO 1951 // 消息体为字符串类型,支持 [Stop Start]

/*AOS_NET, 1960-1999*/
#define CMS_EVENT_AOSNET_MPLUGIN_UP 1961

/* NTP */
#define CMS_EVENT_NTP_SYNCHRONIZED		2000


#endif /* end of include guard: __CMS_EVENT_91SY1LGH */
